{% extends "market/base.html" %}

{% block header %}
{% endblock header %}

{% block content %}
  
  <form method="post" action="{% url 'market:register' %}">
    {% csrf_token %}
    {{ form.as_p }}
    
    <button name="submit" class="btn btn-default">注册</button>
    <input type="hidden" name="next" value="{% url 'market:index' %}" />
  </form>

{% endblock content %}
